package org.lt.resume.controller.subcompany;

import org.lt.resume.service.subcompanyserviceInterface.SubCompanyServiceInterface;

import com.opensymphony.xwork2.ActionSupport;

public class DeleteSubcompanyController extends ActionSupport {

    /****/
	private static final long serialVersionUID = 7124136192274719605L;

	private SubCompanyServiceInterface subCompanyService;

	private String name;

	private String message = "该用户信息已被删除";

	@Override
	public String execute() throws Exception {

		subCompanyService.deleteSubcompany(name);

		return null;
	}

	public SubCompanyServiceInterface getSubCompanyService() {
		return subCompanyService;
	}

	public void setSubCompanyService(SubCompanyServiceInterface subCompanyService) {
		this.subCompanyService = subCompanyService;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
